<!DOCTYPE html>
<html lang="en" xmlns:v-on="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>第一次测试</title>
</head>
<body>
    <div id="app">
        {{5}} <br>
        {{5 && 1}} <br>
        {{5 + 2}} <br>
        {{5 || 1}} <br>
        {{hello()}} <br>
        {{heihei()}} <br>

        ==============================
        <hr>
        {{name}}
        <span v-text="info">稍等片刻</span>
        <span v-html="info">稍等片刻</span>


    </div>

    <script src="./node_modules/vue/dist/vue.js"></script>
    <script>
        let vue = new Vue({
            el:"#app",
            data:{
                name:"songzhengshen",
                info:"<h2>今天很开心</h2>"
            },
            methods:{
                hello(){
                    console.log("hello")
                },
                heihei(){
                    return "北京"
                }
            }
        })
    </script>
</body>
</html>